﻿@page "/datagrid-datatable"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>DataTable</strong> support
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Bind the DataGrid to legacy DataTable objects for backward compatibility.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the DataGrid binds directly to ADO.NET <code>DataTable</code> objects, allowing integration with legacy .NET code or stored procedures that return DataTables, with automatic column generation from DataTable schema.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridDataTable">
    <DataGridDataTable />
</RadzenExample>